It is clearly not the intention that the baseline of icons is at
the very top. The visible effect of this was that spin buttons were
higher than expeted, because the box gadget was trying to line up
the baseline of the text with the top of the buttons, forcing extra
height to be requested.
Just don't set a baseline at all for now.
*minimum = *natural = icon_width;
else
*minimum = *natural = icon_height;
-
- if (minimum_baseline)
- *minimum_baseline = 0;
- if (natural_baseline)
- *natural_baseline = 0;
}
static void